package com.zywl.service;

import com.zywl.core.beans.Dictionary;
import com.zywl.service.base.BaseService;

import java.util.List;
import java.util.Map;

public interface DictionaryService extends BaseService<Dictionary> {
    Dictionary getDictionaryByTypeAndCode(String type, String code) throws Exception;

    List<Dictionary> getDictionaryByType(String type) throws Exception;

    Dictionary getDictionaryByTypeAndCodeName(String type, String codeName) throws Exception;

    List<Dictionary> getTypeList() throws Exception;

    Integer getMaxByType(String type) throws Exception;

    Dictionary getByTypeAndQymc(Map<String, Object> map) throws Exception;
}
